package com.service.atf.base.model;

import com.service.atf.base.core.ByteConvertion;

/**
 * User: luotao
 * Date: 12-2-23
 * Time: 15:36:00
 */
public class TFRefund extends BaseFlow implements ByteConvertion {
    public TFRefund() {
        setType((byte) '1');
        setTradeType((byte) 'B');
    }

    @Override
    public ByteConvertion byte2Object(byte[] src) {
        byte2ObjectFlow(src);
        return this;
    }

    @Override
    public byte[] object2Byte() {
        byte[] flow = object2ByteFlow();
        return flow;
    }
}
